// app_config.dart

import 'package:flutter/material.dart';

/// 应用配置
class AppConfig {
  // 默认颜色
  static const Color defaultColor = Colors.blue;

  // 默认窗口大小
  static const double windowMinWidth = 800;
  static const double windowMinHeight = 600;
  static const double windowWidth = 1024;
  static const double windowHeight = 768;

  // 预览区域大小
  static const double previewSize = 200;

  // 错误信息
  static const Map<String, String> errorMessages = {
    'INVALID_COLOR': '无效的颜色值',
    'INVALID_SIZE': '无效的尺寸',
    'SAVE_ERROR': '保存失败',
  };

  // 成功信息
  static const Map<String, String> successMessages = {
    'DOWNLOAD_SUCCESS': '下载成功',
  };
}